// 研究共用体
/*
4
0x7ffc71e43654
0x7ffc71e43654
0x7ffc71e43654
*/
#include <stdio.h>

union man
{
    int a;
    short b;
    char c;
};

int main(int argc, char **argv)
{   
    union man m1;

    // 输出所占大小
    printf("%lu\n", sizeof(m1));

    // 打印成员地址
    printf("%p\n", &m1.a);
    printf("%p\n", &m1.b);
    printf("%p\n", &m1.c);


    return 0;
}